package com.heatup.apt.model;

import java.io.Serializable;

/**
 * 二维码门禁 model
 *
 * Created by blank on 2017/10/27 下午2:52
 */
public class QRDoor implements Serializable{

    private static final long serialVersionUID = -514508725954775173L;



    private String DeviceID;//设备编码：指设备的MAC地址码，长度12

    private String DeviceTime;//设备时间：171018142347 （2017-10-18 14:23:47）

    private String DoorStatus;//00第1个0表示门1门磁是状态，第2个0表示门2门磁状态 0表示闭合的，1表示断开的，如果只有一个门，则门2值不用管

    private String ReaderNo;//读头号:指一个设备上的多个输入外设，如IC读头1、2，二维码读头1，2等一般1表示进，2表示出

    private String ActIndex;//动作位置：动作的继电器位置，一般指要求执行哪个继电器，一般是1，2，如果二个继电器同时进行则值为3

    private String Type;//上传数据类型 0: IC卡卡号 1: 二维码数据 2: 身份证 3: 密码

    private String SCode;//上面对应数据类型对应的数据

    private String Version;//设备版本号

    private String SN;//项目编号: 如不用默认填:001

    private String UserName;//自定义参数 当前用户名

    private String PassWord;//自定义参数 当前密码


    public String getDeviceID() {
        return DeviceID;
    }

    public void setDeviceID(String deviceID) {
        DeviceID = deviceID;
    }

    public String getDeviceTime() {
        return DeviceTime;
    }

    public void setDeviceTime(String deviceTime) {
        DeviceTime = deviceTime;
    }

    public String getDoorStatus() {
        return DoorStatus;
    }

    public void setDoorStatus(String doorStatus) {
        DoorStatus = doorStatus;
    }

    public String getReaderNo() {
        return ReaderNo;
    }

    public void setReaderNo(String readerNo) {
        ReaderNo = readerNo;
    }

    public String getActIndex() {
        return ActIndex;
    }

    public void setActIndex(String actIndex) {
        ActIndex = actIndex;
    }

    public String getType() {
        return Type;
    }

    public void setType(String type) {
        Type = type;
    }

    public String getSCode() {
        return SCode;
    }

    public void setSCode(String SCode) {
        this.SCode = SCode;
    }

    public String getVersion() {
        return Version;
    }

    public void setVersion(String version) {
        Version = version;
    }

    public String getSN() {
        return SN;
    }

    public void setSN(String SN) {
        this.SN = SN;
    }

    public String getUserName() {
        return UserName;
    }

    public void setUserName(String userName) {
        UserName = userName;
    }

    public String getPassWord() {
        return PassWord;
    }

    public void setPassWord(String passWord) {
        PassWord = passWord;
    }

    @Override
    public String toString() {
        return "QRDoor{" +
                "DeviceID='" + DeviceID + '\'' +
                ", DeviceTime='" + DeviceTime + '\'' +
                ", DoorStatus='" + DoorStatus + '\'' +
                ", ReaderNo='" + ReaderNo + '\'' +
                ", ActIndex='" + ActIndex + '\'' +
                ", Type='" + Type + '\'' +
                ", SCode='" + SCode + '\'' +
                ", Version='" + Version + '\'' +
                ", SN='" + SN + '\'' +
                ", UserName='" + UserName + '\'' +
                ", PassWord='" + PassWord + '\'' +
                '}';
    }
}
